package com.xkdx.guangguang.fragment.my.setup;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;
import com.xkdx.guangguang.module.statics.IConstants;

public class ExchangeListAction extends AbsAction {
	String userID, loginToken;

	public ExchangeListAction(String userID, String loginToken) {
		this.url=IConstants.INFO_URL;
		this.userID = userID;
		this.loginToken = loginToken;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceID", "2");
		map.put("UserID", userID);
		map.put("LoginToken", loginToken);
		String json = constructJson(map);
		Parameter parameter = new Parameter("payChapterAction", "payListGet", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}
}
